﻿
namespace Framework.Net.Xmpp.InstantMessaging
{
    /// <summary>
    /// XMPP Service Identity
    /// </summary>
    public sealed class XmppServiceIdentity
    {
        #region · Fields ·

        private string category;
        private string type;

        #endregion

        #region · Properties ·

        /// <summary>
        /// Gets the service identity category
        /// </summary>
        public string Category
        {
            get { return this.category; }
        }

        /// <summary>
        /// Gets the service identity type
        /// </summary>
        public string Type
        {
            get { return this.type; }
        }

        #endregion

        #region · Constructors ·

        /// <summary>
        /// Initializes a new instance of the <see cref="XmppServiceIdentity"/> class.
        /// </summary>
        /// <param name="category"></param>
        /// <param name="type"></param>
        public  XmppServiceIdentity(string category, string type)
        {
            this.category   = category;
            this.type       = type;
        }

        #endregion
    }
}
